5.5
MEDIUM CVSS 3.1
CVE-2024-35962
netfilter: complete validation of user input
Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: complete validation of user input In my recent commit, I missed that do_replace() handlers use copy_from_sockptr() (which I fixed), followed by unsafe copy_from_sockptr_offset() calls. In all functions, we can perform the @optlen validation before even calling xt_alloc_table_info() with the following check: if ((u64)optlen < (u64)tmp.size + sizeof(tmp)) return -EINVAL;

INFO

Published Date :

May 20, 2024, 10:15 a.m.

Last Modified :

Dec. 17, 2025, 3:37 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2024-35962 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
1 Debian debian_linux
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
This vulnerability can be remediated by updating the Linux kernel packages.
  • Update the affected kernel packages.
  • Reboot the system after the update.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-35962 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-35962 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-35962 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-35962 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Dec. 17, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.10.215:*:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15.154 up to (excluding) 5.15.156 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1.85 up to (excluding) 6.1.87 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6.26 up to (excluding) 6.6.28 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.8.5 up to (excluding) 6.8.7
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/562b7245131f6e9f1d280c8b5a8750f03edfc05c Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/65acf6e0501ac8880a4f73980d01b5d27648b956 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/89242d9584c342cb83311b598d9e6b82572eadf8 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/97dab36e57c64106e1c8ebd66cbf0d2d1e52d6b7 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/c760089aa98289b4b88a7ff5a62dd92845adf223 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/cf4bc359b76144a3dd55d7c09464ef4c5f2b2b05 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/cf4bc359b76144a3dd55d7c09464ef4c5f2b2b05 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/562b7245131f6e9f1d280c8b5a8750f03edfc05c Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/c760089aa98289b4b88a7ff5a62dd92845adf223 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/97dab36e57c64106e1c8ebd66cbf0d2d1e52d6b7 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/89242d9584c342cb83311b598d9e6b82572eadf8 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/65acf6e0501ac8880a4f73980d01b5d27648b956 Types: Patch
    Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Types: Mailing List, Third Party Advisory
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/562b7245131f6e9f1d280c8b5a8750f03edfc05c
    Added Reference https://git.kernel.org/stable/c/65acf6e0501ac8880a4f73980d01b5d27648b956
    Added Reference https://git.kernel.org/stable/c/89242d9584c342cb83311b598d9e6b82572eadf8
    Added Reference https://git.kernel.org/stable/c/97dab36e57c64106e1c8ebd66cbf0d2d1e52d6b7
    Added Reference https://git.kernel.org/stable/c/c760089aa98289b4b88a7ff5a62dd92845adf223
    Added Reference https://git.kernel.org/stable/c/cf4bc359b76144a3dd55d7c09464ef4c5f2b2b05
    Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 05, 2024

    Action Type Old Value New Value
    Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 25, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 29, 2024

    Action Type Old Value New Value
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 20, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: netfilter: complete validation of user input In my recent commit, I missed that do_replace() handlers use copy_from_sockptr() (which I fixed), followed by unsafe copy_from_sockptr_offset() calls. In all functions, we can perform the @optlen validation before even calling xt_alloc_table_info() with the following check: if ((u64)optlen < (u64)tmp.size + sizeof(tmp)) return -EINVAL;
    Added Reference kernel.org https://git.kernel.org/stable/c/cf4bc359b76144a3dd55d7c09464ef4c5f2b2b05 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/97dab36e57c64106e1c8ebd66cbf0d2d1e52d6b7 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/c760089aa98289b4b88a7ff5a62dd92845adf223 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/89242d9584c342cb83311b598d9e6b82572eadf8 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/562b7245131f6e9f1d280c8b5a8750f03edfc05c [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/65acf6e0501ac8880a4f73980d01b5d27648b956 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact